import Components from './components';
import Directives from './directives';
import MultRun from './utils/multRun';

const install = (Vue, router) => {
    Components.map(component => {
        Vue.component(component.name, component);
    });

    Directives.map(component => {
        Vue.directive(component.name, component);
    });

    Vue.use(MultRun, router);
};

export default {
    install
};
